package de.thw.web.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import de.thw.web.dao.StyleDAO;
import de.thw.web.model.Style;
import de.thw.web.service.StyleService;

@Service
public class StyleServiceImpl extends AbstractServiceImpl<Style> implements
		StyleService {

	@Autowired
	private StyleDAO daoGroup;

	// /////////////////////////////////////////////////////////////////////////////

	@Transactional
	public void save(Style object) {
		super.save(object, this.daoGroup);
	};

	@Transactional
	public Style load(String uid) {
		return super.load(uid, this.daoGroup);
	};

	@Transactional
	public List<Style> getAll() {
		return super.getAll(this.daoGroup);
	};

};